﻿using System;
using System.Collections.Generic;

using System.Windows.Forms;
using MobileBroadbandLoggingMonitorGUI;
using MobileBroadbandLoggingMonitorUI.Implementations;
using MobileBroadbandLoggingMonitorUI.UI;
using MobileBroadbandUserBlog.MBLM;
using MobileBroadbandUserBlog.MBLM.Core;
using MobileBroadbandLoggingMonitorGUI.UI.Interfaces;
using MobileBroadbandLoggingMonitorGUI.UI;
using MobileBroadbandLoggingMonitorGUI.Implementations;
using MobileBroadbandLoggingMonitorGUI.Interfaces;
using ApplicationContext=MobileBroadbandLoggingMonitorGUI.Implementations.ApplicationContext;

namespace MobileBroadbandLoggingMonitorUI
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {

            



            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            IShareInformationPresenter shareInformationPresenter = new ShareInformationPresenter(new ShareInformationView(), new ServerCommunication(new Settings()),new DialogPresenter());
            GetProPresenter getProPresenter = new GetProPresenter(new GetProView(), new Settings(), new Web());
            MainFormPresenter presenter = new MainFormPresenter(new MainForm(), new MobileBroadbandLoggingMonitor(), shareInformationPresenter, getProPresenter, new DialogPresenter(), new Web(), new Settings(), new ApplicationContext(), new ServerCommunication(new Settings()));
            presenter.Show();

            Application.Run();
        }
    }
}
